<?php

	use Phptricks\system\library\PhptricksExceptions\PhptricksExceptions as Exc;
	use Phptricks\system\library\hooks\hooks as hooks;
$hooks = hooks::getinstance();
	function user_profile($pram){
		$hooks = hooks::getinstance();
		$uri = $hooks->_uri;
		$hooks->set_router(array(
			'admin' => 'admin',
			'class' => 'index',
			'function' => 'index',
		));
	}

//	$hooks->set('users', 'user_profile', 'before');
	